<template>
  <div>
    <tab-bar>
      <tab-bar-item path="/home" ActiveColor="pink">
        <!--        插入图片-->
        <img slot="item-icon" src="../assets/img/tabbar/home.svg">
        <img slot="item-icon-active" src="../assets/img/tabbar/home_active.svg">
        <!--      插入文字-->
        <div slot="item-text">首页</div>
      </tab-bar-item>
      <tab-bar-item path="/category" ActiveColor="pink">
        <!--        插入图片-->
        <img slot="item-icon" src="../assets/img/tabbar/category.svg">
        <img slot="item-icon-active" src="../assets/img/tabbar/category_active.svg">
        <!--      插入文字-->
        <div slot="item-text">分类</div>
      </tab-bar-item>
      <tab-bar-item path="/cart" ActiveColor="pink">
        <!--        插入图片-->
        <img slot="item-icon" src="../assets/img/tabbar/shopcart.svg">
        <img slot="item-icon-active" src="../assets/img/tabbar/shopcart_active.svg">
        <!--      插入文字-->
        <div slot="item-text">购物车</div>
      </tab-bar-item>
      <tab-bar-item path="/profile" ActiveColor="pink">
        <!--        插入图片-->
        <img slot="item-icon" src="../assets/img/tabbar/profile.svg">
        <img slot="item-icon-active" src="../assets/img/tabbar/profile_active.svg">
        <!--      插入文字-->
        <div slot="item-text">我的</div>
      </tab-bar-item>
    </tab-bar>
  </div>
</template>

<script>
import TabBarItem from "./tabbar/TabBarItem";
import TabBar from "./tabbar/TabBar";

export default {
  name: "MianTabBar",
  components: {
    TabBarItem,
    TabBar
  }
}
</script>

<style scoped>

</style>
